home *** CD-ROM | disk | FTP | other *** search
- Path: reuna.cl!utfsm!vonbrand
- From: vonbrand@amaru.inf.utfsm.cl (Horst von Brand)
- Newsgroups: comp.lang.c,comp.lang.c++,comp.edu,comp.unix.misc
- Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
- Followup-To: comp.unix.misc
- Date: 11 Apr 1996 09:44:01 -0400
- Organization: Departamento de Informatica, UTFSM
- Message-ID: <4kj2b1$4k5@amaru.inf.utfsm.cl>
- References: <JSA.96Feb16135027@organon.com> <dewar.828936837@schonberg> <4kb2j8$an0@solutions.solon.com> <dewar.829011320@schonberg>
- NNTP-Posting-Host: amaru.inf.utfsm.cl
-
- [Cut back on Newsgroups:, perhaps comp.os.unix.misc would be best?]
-
- In article <dewar.829011320@schonberg>, Robert Dewar <dewar@cs.nyu.edu> wrote:
- >[Does a read(fd, buff, 1000); buff is 100 bytes; file is 62 bytes. Linux
- > screams, this is considered wrong]
-
- Excuse me, but how on earth is Linux supposed to know that this broken call
- is right? I doubt POSIX (or anybody else) says anything about this case,
- except perhaps "undefined bahaviour". You are lucky your computer(s)
- didn't turn into frogs or princes :-)
- --
- Dr. Horst H. von Brand vonbrand@inf.utfsm.cl
- Departamento de Informatica Fono: +56 32 626364 x 431
- Universidad Tecnica Federico Santa Maria Fax: +56 32 625217
- Casilla 110-V, Valparaiso, Chile
-